package cn.sunshine.comprehensive.factory_singleton.factory;

import cn.sunshine.comprehensive.factory_singleton.factory.support.ARedisCluster;
import cn.sunshine.comprehensive.factory_singleton.factory.support.BMongodbCluster;

/**
 * @Description cn.sunshine.comprehensive.factory_singleton.factory
 * @Author Mokairui
 * @Since 2022/1/2
 */
public class AClusterFactory implements ClusterAbstractFactory {

    @Override
    public RedisCluster createRedisCluster() {
        return new ARedisCluster();
    }

    @Override
    public MongodbCluster createMongodbCluster() {
        return new BMongodbCluster();
    }
}
